package com.qfxl.common.entity.base;/**
 * @Author cj
 * @Date 2024/1/5 16:47
 * @Version 1.0
 */

import lombok.Data;

/**
 * @author cj * @date 2024年01月05日 16:47
 */

@Data
public class CommEnumException extends RuntimeException {


    private RestCommEnum restCommEnum;

    public CommEnumException() {
        this.restCommEnum = RestCommEnum.ERROR;
    }

    public CommEnumException(RestCommEnum restCommEnum) {
        this.restCommEnum = restCommEnum;
    }

}
